export interface IResHospitalListData {
  totalPages: 5;
  totalElements: 22;
  size: 5;
  content: IHospitalListData[];
}
export interface IHospitalListData {
  address: string;
  bookingRule: { cycle: number; releaseTime: string; stopTime: string; quitDay: number; quitTime: string; rule: string[] };
  cityCode: string;
  createTime: string;
  districtCode: string;
  hoscode: string;
  hosname: string;
  hostype: string;
  id: string;
  intro: string;
  isDeleted: number;
  logoData: string;
  param: { hostypeString: string; fullAddress: string };
  provinceCode: string;
  route: string;
  status: 0 | 1;
}
export interface IHospitalListParams {
  hoscode: string;
  hosname: string;
  hostype: string;
  provinceCode: string;
  cityCode: string;
  districtCode: string;
  status: number;
}

// 省数据
export interface IResProvince {
  createTime: string;
  hasChildren: boolean;
  id: number;
  isDeleted: number;
  name: string;
  parentId: number;
  updateTime: string;
  value: string;
}

// 科室数据
export interface IScheduleData {
  children: IScheduleData[];
  depcode: string;
  depname: string;
  disabled?: boolean;
}

// res返回排班数据
export interface IResScheduleRules {
  baseMap: { hosname: string };
  bookingScheduleList: IScheduleRules[];
  total: 36;
}
// 排班数据
export interface IScheduleRules {
  availableNumber: number;
  dayOfWeek: string;
  docCount: number;
  reservedNumber: number;
  workDate: string;
}

// 排班详情
export interface IResScheduleListData {
  amount: number;
  availableNumber: number;
  createTime: string;
  depcode: string;
  docname: string;
  hosScheduleId: string;
  hoscode: string;
  id: string;
  isDeleted: number;
  param: { dayOfWeek: string; depname: string; hosname: string };
  reservedNumber: number;
  skill: string;
  status: number;
  title: string;
  updateTime: string;
  workDate: string;
  workTime: number;
}
